table={'012':[90,94,97,86,85,89,88,85],
       '005':[91,91,92,98,90,96,90,95],
       '108':[96,86,91,96,87,86,86,96],
       '037':[95,95,94,93,97,98,99,95],
       '066':[95,87,94,94,93,99,96,97],
       '020':[89,97,91,95,89,94,97,92]}
n=0
table1={}
for key in table.keys():
    table[key].sort()
    for i in range(1,7):
        n=n+table[key][i]
    table1 [key]=n/6
    n=0
t=sorted(table1.items(), key=lambda item: item[1], reverse=True)
print(t)

